@import "../../assets/css/comment.scss";

.header-container{
    width: 100%;
    min-width: 1200px;
    height: 80px;
    padding: 0 $comment-padding;
    background-color: $header-color;
    overflow: hidden;
    display: flex;

    .header-left{
        display: flex;
        align-items: center;
        -webkit-box-pack: justify;
        height: 80px;
        line-height: 80px;
        flex: 1;

        .header-logo{
            display: flex;
            align-items: center;
            margin-right: 50px;
            cursor: pointer;

            img{
                height: 50px;
                width: 50px;
            }

            .header-logo3{
                font-weight: 600;
                font-size: 22px;
            }
        }

        .header-search{
            display: flex;
            align-items: center;
            margin: $comment-margin;
            
             .svg{
                 width: 30px;
                 height: 30px;
                 margin-right: 15px;
             }

             .inputSearch{
                display: flex;
                align-items: center;
                margin-left: 10px;

                .searchSvg{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 30px;
                    height: 30px;
                    background-color: rgba(255, 255, 255, 0.749);
                    border-radius: 20px 0 0 20px;

                    .svg2{
                        width: 20px;
                        height: 20px;                        
                    }
                }
                
                input{
                    width: 200px;
                    height: 30px;
                    border-radius: 0 20px 20px 0;
                    font-size: 16px;
                    background-color: rgba(255, 255, 255, 0.749);
                }
             }
         }
    }

    .header-right{
        display: flex;
        align-items: center;
        max-width: 180px;
        width: 100%;

        .user-name{
            // background-color: aqua;
            cursor: pointer;
            margin-left: 15px;
            min-width: 50px;
            max-width: 85px;
            width: 100%;
            overflow: hidden;
            font-size: 14px;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        img{
            width: 65px;
            height: 65px;
            border-radius: 50%;
        }
    }
}